<?php
function PMA_transformation_global_plain($buffer, $options = array(), $meta = '') { return htmlspecialchars($buffer); } function PMA_transformation_global_html($buffer, $options = array(), $meta = '') { return $buffer; } function PMA_transformation_global_html_replace($buffer, $options = array(), $meta = '') { if (!isset($options['string'])) { $options['string'] = ''; } if (isset($options['regex']) && isset($options['regex_replace'])) { $buffer = preg_replace('@' . str_replace('@', '\@', $options['regex']) . '@si', $options['regex_replace'], $buffer); } $return = str_replace("[__BUFFER__]", $buffer, $options['string']); return $return; } ?>
